package com.ruoyi.domain;

import java.util.Date;

/**
 * 用户优惠券对象 user_coupon
 * 
 * @author ruoyi
 * @date 2025-01-27
 */
public class UserCoupon
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 用户ID */
    private Long userId;

    /** 优惠券ID */
    private Long couponId;

    /** 优惠券名称 */
    private String couponName;

    /** 优惠券类型 */
    private String couponType;

    /** 优惠金额 */
    private Double preferentialMoney;

    /** 触发金额 */
    private Double triggerMoney;

    /** 优惠券状态：0-未使用，1-已使用，2-已过期 */
    private Integer status;

    /** 领取时间 */
    private Date receiveTime;

    /** 使用时间 */
    private Date useTime;

    /** 过期时间 */
    private Date expireTime;

    /** 订单ID（使用优惠券时关联的订单） */
    private Long orderId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setCouponId(Long couponId) 
    {
        this.couponId = couponId;
    }

    public Long getCouponId() 
    {
        return couponId;
    }

    public void setCouponName(String couponName) 
    {
        this.couponName = couponName;
    }

    public String getCouponName() 
    {
        return couponName;
    }

    public void setCouponType(String couponType) 
    {
        this.couponType = couponType;
    }

    public String getCouponType() 
    {
        return couponType;
    }

    public void setPreferentialMoney(Double preferentialMoney) 
    {
        this.preferentialMoney = preferentialMoney;
    }

    public Double getPreferentialMoney() 
    {
        return preferentialMoney;
    }

    public void setTriggerMoney(Double triggerMoney) 
    {
        this.triggerMoney = triggerMoney;
    }

    public Double getTriggerMoney() 
    {
        return triggerMoney;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setReceiveTime(Date receiveTime) 
    {
        this.receiveTime = receiveTime;
    }

    public Date getReceiveTime() 
    {
        return receiveTime;
    }

    public void setUseTime(Date useTime) 
    {
        this.useTime = useTime;
    }

    public Date getUseTime() 
    {
        return useTime;
    }

    public void setExpireTime(Date expireTime) 
    {
        this.expireTime = expireTime;
    }

    public Date getExpireTime() 
    {
        return expireTime;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
}
